#include<stdio.h>
#include<windows.h>
#include<string.h>
#include<assert.h>
char *my_strcat(char *dest, const char *src)
{
        assert(dest);
    assert(src);

    int len = strlen(dest);
    char *temp = dest + len;
    while (*temp++ = *src++)
    {
        ;
    }
    return dest;
}

int main()
{
    char string[80];
    char string1[80];
    scanf("%s",string);
    scanf("%s",string1);
    my_strcat(string, string1);
    printf("%s\n", string);
    system("pause");
    return 0;
}
